package com.zy.ipanalysis.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by ZYDR on 2015/12/27.
 */
@Controller
public class IndexController {
    @RequestMapping("/")
    public String welcome(Model model){
        model.addAttribute("result","welcome");
        return "index";
    }
}
